package com.xinyue.design.simpleFactory.wayTwo;

public class Client {

	public static void main(String[] args) {
		
		Person p = PersonFactory.createPerson(PersonParam.ADMIN);
		p.doWork();
	}
}
